<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit"/><!-- 让360浏览器默认选择webkit内核 -->
    <link href="https://pynnn.oss-cn-hangzhou.aliyuncs.com/bootstrap-select.min.css?v=20200628" rel="stylesheet">
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/jquery.min.js?v=2.1.4"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/bootstrap.min.js?v=3.3.6"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/jquery.ztree.all.min.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/bootstrap-table.min.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/bootstrapValidator.min.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/zh_CN.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/bootstrap-table-mobile.min.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/bootstrap-table-zh-CN.min.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/jquery.treegrid.min.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/jquery.treegrid.bootstrap3.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/jquery.treegrid.extension.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/layer.min.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/icheck.min.js?v=20200628"></script>
    <script src="${ctxPath}/static/js/plugins/layer/laydate/laydate.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/webuploader.min.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/ajax-object.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/bootstrap-table-object.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/tree-table-object.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/web-upload-object.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/ztree-object.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/Feng.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/bootstrap-select.min.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/defaults-zh_CN.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/bootstrap-table-export.min.js?v=20200628"></script>
    <script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/tableExport.min.js?v=20200628"></script>
    <script type="text/javascript" src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/content.js?v=20200628"></script>
    <script type="text/javascript">Feng.addCtx("${ctxPath}");Feng.sessionTimeoutRegistry();</script>
    <style>.toothNone{border:none;outline:none;background:none;display:inline-block;width:46%;height:9px;}.leftUp{border-right:1px solid #666666;border-bottom:1px solid #666666;text-align:right;padding-right:4px;position:absolute}.rightUp{border-bottom:1px solid #666666;padding-left:4px;position:absolute;right:0;}.leftDown{border-right:1px solid #666666;text-align:right;padding-right:4px;position:absolute;bottom:-1px;}.rightDown{padding-left:4px;margin-left:-10px;position:absolute;right:0;bottom:-1px;}</style>
</head>
<body class="gray-bg" style="margin: 0;">
<div style="display: none">
    <input type="hidden" id="customerId" value="${customerId}">
    <input type="hidden" id="reservationsId" value="${reservationsId}">
    <input type="hidden" id="operationTime" value="${operationTime}">
    <input type="hidden" id="rechargeTime" value="${rechargeTime}">
    <input type="hidden" id="getTime" value="${getTime}">
    <input type="hidden" id="abbreviation" value="${abbreviation}">
</div>
<div id="div_print" class="print_box" style="word-break:break-all;padding: 0 10px;">
    <div style="display: none"><span id="zkje"></span></div>
    <div style="word-break:break-all;font-size: 14px;color: black">
        <div class="data_row" style="text-align: center;margin: 15px 0;">
            @if(deptInfo.simplename == "万达店"){
            <span style="font-size: 18px;font-weight: bold;display: inline-block;">钛植口腔（黄石万达门诊部）</span>
            @}
            @if(deptInfo.simplename != "万达店"){
            <span style="font-size: 18px;font-weight: bold;display: inline-block;">钛植口腔${deptInfo.simplename}</span>
            @}
        </div>
        <div class="data_row" style="border-bottom: 1px solid black;display: flex;padding-bottom: 5px;">
            <div style="flex: 1;padding-left: 10px;">病历号：${consultantInfo.medicalRecordNumber}</div>
            <div style="flex: 1">姓名：${consultantInfo.customerName}</div>
            <div style="flex: 1">电话：${consultantInfo.customerPhone}</div>
            <div style="flex: 1;text-indent: 1em;">单据号：<span id="documentNumber"></span></div>
        </div>
        <div class="data_row" style="font-weight: bold;border-bottom: 1px solid black;display: flex">
            <div style="flex: 1;text-align: center">牙位</div>
            <div style="flex: 3;text-indent: 1em;">处置名称</div>
            <div style="flex: 1;text-align: center">数量</div>
            <div style="flex: 1;text-align: center">单位</div>
            <div style="flex: 1;text-align: center">单价</div>
            <div style="flex: 1;text-align: center">原价</div>
            <div style="flex: 1;text-align: center">折后价</div>
            <div style="flex: 1;text-align: center">实收</div>
        </div>
        <div id="plan_box" style="height: 220px;"></div>
        <div class="data_row fz2" style="border-top: 1px solid black;padding:5px;display: flex">
            <div style="flex: 1;">原价：<span id="bcfy"></span></div>
            <div style="flex: 1;">整单折扣%：<span id="zkl"></span></div>
            <div style="flex: 1;">上次欠费：<span id="scqk"></span></div>
            <div style="flex: 1;">折后金额：<span id="hjys"></span></div>
            <div style="flex: 1;">本次缴费：<span id="ssje"></span></div>
        </div>
        <div class="data_row fz2" style="display: flex;padding:0 5px;">
            <div style="flex: 2;">实收金额(大写)：</div>
            <div style="flex: 1;">本次欠费：<span id="bcqk"></span></div>
            <div style="flex: 1;">储值抵扣：<span id="djdc"></span></div>
            <div style="flex: 1;">优惠抵扣：<span id="jfdc"></span></div>
        </div>
        <div class="data_row fz2" style="display: flex;padding:5px;">
            <div style="flex: 3;">收款方式：
                @for(item in openCheckoutMethodInfoList){
                <span>${item.checkoutMethod}</span>
                <span>${item.actualAccountBalance}</span>
                @}
            </div>
            <div style="flex: 2;">备注：${remarksList.remarks}</div>
        </div>
        <div class="data_row fz2" style="border-top: 1px solid;padding: 5px;display: flex">
            <div style="flex: 1;">收银员:${rechargePeople}</div>
            <div style="flex: 1;">医生：${doctor}<span id="doctor"></span></div>
            <div style="flex: 1;">TC：${rechargeInfo.tcName}</div>
            <div style="flex: 2;text-align: right">收款时间：<span id="nowTime"></span></div>
        </div>
        <div class="data_row fz2" style="display: flex;padding: 0 5px;">
            <div style="flex: 2;">地址：${deptInfo.address}</div>
            <div style="flex: 1;">电话：${deptInfo.phone}</div>
        </div>
    </div>
</div>
<div style="position: absolute;bottom: 5%;left: 50%;transform: translateX(-50%);cursor: pointer">
    <input name="print" type="button" id="bt" value="点击打印" style="color: white;padding: 5px 16px;border-radius: 3px;background: #FF7E00;border: 1px solid #FF7E00"/>
    <input name="print" type="button" id="cancel" style="color: inherit;background: white;border: 1px solid #999999;border-radius: 3px;padding: 5px 16px;" value="取消"/>
</div>
<script src="${ctxPath}/static/modular/tcCenter/consultant/printOne.js?v=20200628"></script>
</body>
</html>